﻿/*
 *	Copyright (c) 2009 Queensland University of Technology. All rights reserved.
 *	The QUT Bioinformatics Collection is open source software released under the 
 *	Microsoft Public License (Ms-PL): http://www.microsoft.com/opensource/licenses.mspx.
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DBLoader {
	/// <summary>
	///	Implenment this interface to provide custom error log capability.  
	/// </summary>
	
	public interface ILogWriter {
		/// <summary>
		/// Appends a message to the associated streamlike object, without appending a trailing EOL.
		/// </summary>
		/// <param name="format"></param>
		/// <param name="args"></param>
		
		void Write ( string format, params object[] args );
		
		/// <summary>
		/// Appends an EOL marker to whatever streamlike object 
		/// </summary>
	
		void WriteLine ();
	
		/// <summary>
		/// Appends a message to the associated streamlike object and appends a trailing EOL marker.
		/// </summary>
		/// <param name="format"></param>
		/// <param name="args"></param>
		
		void WriteLine ( string format, params object[] args );
	}
}
